<template>
  <div>
    <el-card>
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="个人认证" name="0">
          <person-auth></person-auth>
        </el-tab-pane>
        <el-tab-pane label="企业认证" name="1">
          <corporate-auth></corporate-auth>
        </el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>
<script>
import personAuth from "./components/personAuth";
import corporateAuth from "./components/corporateAuth";
export default {
  components: { personAuth, corporateAuth },
  data() {
    return {
      activeName: "0"
    };
  },
  methods: {
    handleClick() {}
  }
};
</script>